<?xml version="1.0" encoding="UTF-8"?>
<ticket>
  <assigned-user-id type="integer">11063</assigned-user-id>
  <attachments-count type="integer">3</attachments-count>
  <closed type="boolean">true</closed>
  <created-at type="datetime">2009-05-20T12:27:43-04:00</created-at>
  <creator-id type="integer">6544</creator-id>
  <milestone-due-on type="datetime" nil="true"></milestone-due-on>
  <milestone-id type="integer" nil="true"></milestone-id>
  <number type="integer">5</number>
  <permalink>text-folding</permalink>
  <priority type="integer">110288</priority>
  <project-id type="integer">30941</project-id>
  <raw-data type="binary" nil="true" encoding="base64"></raw-data>
  <state>resolved</state>
  <tag nil="true"></tag>
  <title>Text Folding</title>
  <updated-at type="datetime">2009-05-23T18:28:43-04:00</updated-at>
  <user-id type="integer">11063</user-id>
  <user-name>Rick DeNatale</user-name>
  <creator-name>Adam Williams</creator-name>
  <assigned-user-name>Rick DeNatale</assigned-user-name>
  <url>http://rick_denatale.lighthouseapp.com/projects/30941/tickets/5</url>
  <original-body>I have an event with this description String:

  &quot;Weather report looks nice, 80 degrees and partly cloudy, so following Michael's suggestion, let's meet at the food court at Crossroads:\n\nhttp://www.shopcrossroadsplaza.com/directory.html\n&quot;

It comes out in the export as this:

---------------
DESCRIPTION:Weather report looks nice\, 80 degrees and partly cloudy\, so
  following Michael's suggestion\, let's meet at the food court at Crossr
 oads:
\n
\nhttp://www.shopcrossroadsplaza.com/directory.html
\n
------------------------------------

or, if you prefer a String:

  &quot;DESCRIPTION:Weather report looks nice, 80 degrees and partly cloudy, so\n  following Michael's suggestion, let's meet at the food court at Crossr\n oads:\n\\n\n\\nhttp://www.shopcrossroadsplaza.com/directory.html\n\\n\n&quot;


  adam</original-body>
  <latest-body>I have an event with this description String:

  &quot;Weather report looks nice, 80 degrees and partly cloudy, so following Michael's suggestion, let's meet at the food court at Crossroads:\n\nhttp://www.shopcrossroadsplaza.com/directory.html\n&quot;

It comes out in the export as this:

---------------
DESCRIPTION:Weather report looks nice\, 80 degrees and partly cloudy\, so
  following Michael's suggestion\, let's meet at the food court at Crossr
 oads:
\n
\nhttp://www.shopcrossroadsplaza.com/directory.html
\n
------------------------------------

or, if you prefer a String:

  &quot;DESCRIPTION:Weather report looks nice, 80 degrees and partly cloudy, so\n  following Michael's suggestion, let's meet at the food court at Crossr\n oads:\n\\n\n\\nhttp://www.shopcrossroadsplaza.com/directory.html\n\\n\n&quot;


  adam</latest-body>
  <original-body-html>&lt;div&gt;&lt;p&gt;I have an event with this description String:&lt;/p&gt;
&lt;p&gt;&quot;Weather report looks nice, 80 degrees and partly cloudy, so
following Michael's suggestion, let's meet at the food court at
Crossroads:\n\n&lt;a href=&quot;http://www.shopcrossroadsplaza.com/directory.html&quot;&gt;http://www.shopcrossroadsplaza.c...&lt;/a&gt;\n&quot;&lt;/p&gt;
&lt;p&gt;It comes out in the export as this:&lt;/p&gt;
&lt;hr&gt;
&lt;p&gt;DESCRIPTION:Weather report looks nice\, 80 degrees and partly
cloudy\, so following Michael's suggestion\, let's meet at the food
court at Crossr oads: \n \n&lt;a href=&quot;http://www.shopcrossroadsplaza.com/directory.html&quot;&gt;http://www.shopcrossroadsplaza.c...&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;\n&lt;/h2&gt;
&lt;p&gt;or, if you prefer a String:&lt;/p&gt;
&lt;p&gt;&quot;DESCRIPTION:Weather report looks nice, 80 degrees and partly
cloudy, so\n following Michael's suggestion, let's meet at the food
court at Crossr\n oads:\n\n\n\n&lt;a href=&quot;http://www.shopcrossroadsplaza.com/directory.html&quot;&gt;http://www.shopcrossroadsplaza.c...&lt;/a&gt;\n\n\n&quot;&lt;/p&gt;
&lt;p&gt;adam&lt;/p&gt;&lt;/div&gt;</original-body-html>
  <versions type="array">
    <version type="Ticket::Version">
      <assigned-user-id type="integer" nil="true"></assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>I have an event with this description String:

    &quot;Weather report looks nice, 80 degrees and partly cloudy, so following Michael's suggestion, let's meet at the food court at Crossroads:\n\nhttp://www.shopcrossroadsplaza.com/directory.html\n&quot;

It comes out in the export as this:
    
    DESCRIPTION:Weather report looks nice\, 80 degrees and partly cloudy\, so
      following Michael's suggestion\, let's meet at the food court at Crossr
     oads:
    \n
    \nhttp://www.shopcrossroadsplaza.com/directory.html
    \n

or, if you prefer a String:

    &quot;DESCRIPTION:Weather report looks nice, 80 degrees and partly cloudy, so\n  following Michael's suggestion, let's meet at the food court at Crossr\n oads:\n\\n\n\\nhttp://www.shopcrossroadsplaza.com/directory.html\n\\n\n&quot;</body>
      <body-html>&lt;div&gt;&lt;p&gt;I have an event with this description String:&lt;/p&gt;
&lt;pre&gt;
&lt;code&gt;&quot;Weather report looks nice, 80 degrees and partly cloudy, so following Michael's suggestion, let's meet at the food court at Crossroads:\n\nhttp://www.shopcrossroadsplaza.com/directory.html\n&quot;&lt;/code&gt;
&lt;/pre&gt;
&lt;p&gt;It comes out in the export as this:&lt;br&gt;&lt;/p&gt;
&lt;pre&gt;
&lt;code&gt;DESCRIPTION:Weather report looks nice\, 80 degrees and partly cloudy\, so
  following Michael's suggestion\, let's meet at the food court at Crossr
 oads:
\n
\nhttp://www.shopcrossroadsplaza.com/directory.html
\n&lt;/code&gt;
&lt;/pre&gt;
&lt;p&gt;or, if you prefer a String:&lt;/p&gt;
&lt;pre&gt;
&lt;code&gt;&quot;DESCRIPTION:Weather report looks nice, 80 degrees and partly cloudy, so\n  following Michael's suggestion, let's meet at the food court at Crossr\n oads:\n\\n\n\\nhttp://www.shopcrossroadsplaza.com/directory.html\n\\n\n&quot;&lt;/code&gt;
&lt;/pre&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-05-20T12:27:44-04:00</created-at>
      <creator-id type="integer">6544</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">5</number>
      <permalink>text-folding</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">30941</project-id>
      <state>new</state>
      <tag nil="true"></tag>
      <title>Text Folding</title>
      <updated-at type="datetime">2009-05-20T12:33:53-04:00</updated-at>
      <user-id type="integer">6544</user-id>
      <user-name>Adam Williams</user-name>
      <creator-name>Adam Williams</creator-name>
      <assigned-user-name nil="true"></assigned-user-name>
      <url>http://rick_denatale.lighthouseapp.com/projects/30941/tickets/5</url>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer" nil="true"></assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>In case it's not obvious, the problem, I believe, is that the \n's at the beginning of those lines should have a space in front of them.</body>
      <body-html>&lt;div&gt;&lt;p&gt;In case it's not obvious, the problem, I believe, is that the
\n's at the beginning of those lines should have a space in front
of them.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-05-20T12:40:14-04:00</created-at>
      <creator-id type="integer">6544</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">5</number>
      <permalink>text-folding</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">30941</project-id>
      <state>new</state>
      <tag nil="true"></tag>
      <title>Text Folding</title>
      <updated-at type="datetime">2009-05-20T12:40:15-04:00</updated-at>
      <user-id type="integer">6544</user-id>
      <user-name>Adam Williams</user-name>
      <creator-name>Adam Williams</creator-name>
      <assigned-user-name nil="true"></assigned-user-name>
      <url>http://rick_denatale.lighthouseapp.com/projects/30941/tickets/5</url>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">11063</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>Adam,

I'm having trouble reproducing this.  I added the following to the event_spec

  context &quot;.export&quot; do
    # .. unrelated snippage

    before(:each) do
      cal = RiCal.Calendar
      @it = RiCal::Component::Event.new(cal)
    end

    # More unrelated snippage ...
    
    it &quot;should properly fold on export&quot; do
      @it.description = &quot;Weather report looks nice, 80 degrees and partly cloudy, so following Michael's suggestion, let's meet at the food court at Crossroads:\n\nhttp://www.shopcrossroadsplaza.c...\n&quot;
      export_string = @it.export
      rputs (&quot;***********&quot;)
      rputs export_string
      rputs (&quot;***********&quot;)
      export_string.should match(%r(^DESCRIPTION:Weather report looks nice\\, 80 degrees and partly cloudy\\, so$))
      export_string.should match(%r(^  following Michael's suggestion\\, let's meet at the food court at Crossr$))
      export_string.should match(%r(^ oads:\\n\\nhttp://www.shopcrossroadsplaza\.c\.\.\.\\n))
    end
  end

This passes, and the rputs dump this:

***********
BEGIN:VCALENDAR
PRODID;X-RICAL-TZSOURCE=TZINFO:-//com.denhaven2/NONSGML ri_cal gem//EN
CALSCALE:GREGORIAN
VERSION:2.0
BEGIN:VEVENT
DESCRIPTION:Weather report looks nice\, 80 degrees and partly cloudy\, so
  following Michael's suggestion\, let's meet at the food court at Crossr
 oads:\n\nhttp://www.shopcrossroadsplaza.c...\n
END:VEVENT
END:VCALENDAR
***********

Can you provide more info on this?</body>
      <body-html>&lt;div&gt;&lt;p&gt;Adam,&lt;/p&gt;
&lt;p&gt;I'm having trouble reproducing this. I added the following to
the event_spec&lt;/p&gt;
&lt;p&gt;context &quot;.export&quot; do&lt;/p&gt;
&lt;pre&gt;
&lt;code&gt;# .. unrelated snippage

before(:each) do
  cal = RiCal.Calendar
  @it = RiCal::Component::Event.new(cal)
end

# More unrelated snippage ...

it &quot;should properly fold on export&quot; do
  @it.description = &quot;Weather report looks nice, 80 degrees and partly cloudy, so following Michael's suggestion, let's meet at the food court at Crossroads:\n\nhttp://www.shopcrossroadsplaza.c...\n&quot;
  export_string = @it.export
  rputs (&quot;***********&quot;)
  rputs export_string
  rputs (&quot;***********&quot;)
  export_string.should match(%r(^DESCRIPTION:Weather report looks nice\\, 80 degrees and partly cloudy\\, so$))
  export_string.should match(%r(^  following Michael's suggestion\\, let's meet at the food court at Crossr$))
  export_string.should match(%r(^ oads:\\n\\nhttp://www.shopcrossroadsplaza\.c\.\.\.\\n))
end&lt;/code&gt;
&lt;/pre&gt;
&lt;p&gt;end&lt;/p&gt;
&lt;p&gt;This passes, and the rputs dump this:&lt;/p&gt;
&lt;hr&gt;
&lt;p&gt;BEGIN:VCALENDAR&lt;br&gt;
PRODID;X-RICAL-TZSOURCE=TZINFO:-//com.denhaven2/NONSGML ri_cal
gem//EN&lt;br&gt;
CALSCALE:GREGORIAN&lt;br&gt;
VERSION:2.0&lt;br&gt;
BEGIN:VEVENT&lt;br&gt;
DESCRIPTION:Weather report looks nice\, 80 degrees and partly
cloudy\, so&lt;br&gt;
following Michael's suggestion\, let's meet at the food court at
Crossr oads:\n\n&lt;a href=
&quot;http://www.shopcrossroadsplaza.c.../n&quot;&gt;http://www.shopcrossroadsplaza.c...\n&lt;/a&gt;
END:VEVENT&lt;br&gt;
END:VCALENDAR&lt;br&gt;&lt;/p&gt;
&lt;hr&gt;
&lt;p&gt;Can you provide more info on this?&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-05-21T15:29:51-04:00</created-at>
      <creator-id type="integer">6544</creator-id>
      <diffable-attributes type="yaml">--- 
:assigned_user: 
</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">5</number>
      <permalink>text-folding</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">30941</project-id>
      <state>new</state>
      <tag nil="true"></tag>
      <title>Text Folding</title>
      <updated-at type="datetime">2009-05-21T15:29:53-04:00</updated-at>
      <user-id type="integer">11063</user-id>
      <user-name>Rick DeNatale</user-name>
      <creator-name>Adam Williams</creator-name>
      <assigned-user-name>Rick DeNatale</assigned-user-name>
      <url>http://rick_denatale.lighthouseapp.com/projects/30941/tickets/5</url>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">11063</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>That 'rputs dump' is hard to read on the website showing the ticket, but if it's like the email shows, the problem is that even in that dump, the Ruby String contains &quot;at Crossr\noads:\\n\\nhttp&quot;. Notice that after Crossr, there is an unescaped carriage return, followed immediately by the oads characters. Isn't there supposed to be a space at the beginning of every folded line?</body>
      <body-html>&lt;div&gt;&lt;p&gt;That 'rputs dump' is hard to read on the website showing the
ticket, but if it's like the email shows, the problem is that even
in that dump, the Ruby String contains &quot;at Crossr\noads:\n\nhttp&quot;.
Notice that after Crossr, there is an unescaped carriage return,
followed immediately by the oads characters. Isn't there supposed
to be a space at the beginning of every folded line?&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-05-21T15:47:24-04:00</created-at>
      <creator-id type="integer">6544</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">5</number>
      <permalink>text-folding</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">30941</project-id>
      <state>new</state>
      <tag nil="true"></tag>
      <title>Text Folding</title>
      <updated-at type="datetime">2009-05-21T15:47:26-04:00</updated-at>
      <user-id type="integer">6544</user-id>
      <user-name>Adam Williams</user-name>
      <creator-name>Adam Williams</creator-name>
      <assigned-user-name>Rick DeNatale</assigned-user-name>
      <url>http://rick_denatale.lighthouseapp.com/projects/30941/tickets/5</url>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">11063</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>Here's the actual example:

@@@ ruby
    it &quot;should properly fold on export&quot; do
      @it.description = &quot;Weather report looks nice, 80 degrees and partly cloudy, so following Michael's suggestion, let's meet at the food court at Crossroads:\n\nhttp://www.shopcrossroadsplaza.c...\n&quot;
      export_string = @it.export
      export_string.should match(%r(^DESCRIPTION:Weather report looks nice\\, 80 degrees and partly cloudy\\, so$))
      export_string.should match(%r(^  following Michael's suggestion\\, let's meet at the food court at Crossr$))
      export_string.should match(%r(^ oads:\\n\\nhttp://www.shopcrossroadsplaza\.c\.\.\.\\n$))
    end
@@@

If that doesn't format, then it's in event_spec.rb in the latest push to github, except for the $ in the last regexp, which I just notice was missing and added, but it still passes.


Notice that I'm checking for an extra space after each line break.  And I've attached a file which I wrote from the export which shows things look OK.

So there must be something else going on with your specific use case.</body>
      <body-html>&lt;div&gt;&lt;p&gt;Here's the actual example:&lt;/p&gt;
&lt;pre&gt;
&lt;code class=&quot;ruby&quot;&gt;    it &quot;should properly fold on export&quot; do
      @it.description = &quot;Weather report looks nice, 80 degrees and partly cloudy, so following Michael's suggestion, let's meet at the food court at Crossroads:\n\nhttp://www.shopcrossroadsplaza.c...\n&quot;
      export_string = @it.export
      export_string.should match(%r(^DESCRIPTION:Weather report looks nice\\, 80 degrees and partly cloudy\\, so$))
      export_string.should match(%r(^  following Michael's suggestion\\, let's meet at the food court at Crossr$))
      export_string.should match(%r(^ oads:\\n\\nhttp://www.shopcrossroadsplaza\.c\.\.\.\\n$))
    end&lt;/code&gt;
&lt;/pre&gt;
&lt;p&gt;If that doesn't format, then it's in event_spec.rb in the latest
push to github, except for the $ in the last regexp, which I just
notice was missing and added, but it still passes.&lt;/p&gt;
&lt;p&gt;Notice that I'm checking for an extra space after each line
break. And I've attached a file which I wrote from the export which
shows things look OK.&lt;/p&gt;
&lt;p&gt;So there must be something else going on with your specific use
case.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-05-21T19:17:36-04:00</created-at>
      <creator-id type="integer">6544</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">5</number>
      <permalink>text-folding</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">30941</project-id>
      <state>new</state>
      <tag nil="true"></tag>
      <title>Text Folding</title>
      <updated-at type="datetime">2009-05-21T19:17:39-04:00</updated-at>
      <user-id type="integer">11063</user-id>
      <user-name>Rick DeNatale</user-name>
      <creator-name>Adam Williams</creator-name>
      <assigned-user-name>Rick DeNatale</assigned-user-name>
      <url>http://rick_denatale.lighthouseapp.com/projects/30941/tickets/5</url>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">11063</assigned-user-id>
      <attachments-count type="integer">1</attachments-count>
      <body>I think I found the problem.

    it &quot;should sanitize new lines&quot; do
      @it.description = &quot;Come and join us as we hear Andy Stanley take us deeper into how the accuser works in our lives..And how twisted our world is..\r\nYou will not want to miss these next two sessions.&quot;
      export_string = @it.export
      export_string.should match(%r(^DESCRIPTION:Come and join us as we hear Andy Stanley take us deeper into $))
      export_string.should match(%r(^ how the accuser works in our lives..And how twisted our world is..\\nYou$))
      export_string.should match(%r(^ will not want to miss these next two sessions.$))
    end

The editor that is producing the content appears to be place &quot;\r\n&quot; in there. So, is it my responsibility to normalize new lines? If you run that, you will see that it is escaping the &quot;\n&quot; part of that &quot;\r\n&quot;, but leaving the &quot;\r&quot;.

I have attached an image of how Outlook is choking on the output.

    DESCRIPTION:Come and join us as we hear Andy Stanley take us deeper into 
     how the accuser works in our lives..And how twisted our world is..
    \nYou
      will not want to miss these next two sessions.</body>
      <body-html>&lt;div&gt;&lt;p&gt;I think I found the problem.&lt;/p&gt;
&lt;pre&gt;
&lt;code&gt;it &quot;should sanitize new lines&quot; do
  @it.description = &quot;Come and join us as we hear Andy Stanley take us deeper into how the accuser works in our lives..And how twisted our world is..\r\nYou will not want to miss these next two sessions.&quot;
  export_string = @it.export
  export_string.should match(%r(^DESCRIPTION:Come and join us as we hear Andy Stanley take us deeper into $))
  export_string.should match(%r(^ how the accuser works in our lives..And how twisted our world is..\\nYou$))
  export_string.should match(%r(^ will not want to miss these next two sessions.$))
end&lt;/code&gt;
&lt;/pre&gt;
&lt;p&gt;The editor that is producing the content appears to be place
&quot;\r\n&quot; in there. So, is it my responsibility to normalize new
lines? If you run that, you will see that it is escaping the &quot;\n&quot;
part of that &quot;\r\n&quot;, but leaving the &quot;\r&quot;.&lt;/p&gt;
&lt;p&gt;I have attached an image of how Outlook is choking on the
output.&lt;/p&gt;
&lt;pre&gt;
&lt;code&gt;DESCRIPTION:Come and join us as we hear Andy Stanley take us deeper into
 how the accuser works in our lives..And how twisted our world is..
\nYou
  will not want to miss these next two sessions.&lt;/code&gt;
&lt;/pre&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-05-22T11:06:59-04:00</created-at>
      <creator-id type="integer">6544</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">5</number>
      <permalink>text-folding</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">30941</project-id>
      <state>new</state>
      <tag nil="true"></tag>
      <title>Text Folding</title>
      <updated-at type="datetime">2009-05-22T11:07:02-04:00</updated-at>
      <user-id type="integer">6544</user-id>
      <user-name>Adam Williams</user-name>
      <creator-name>Adam Williams</creator-name>
      <assigned-user-name>Rick DeNatale</assigned-user-name>
      <url>http://rick_denatale.lighthouseapp.com/projects/30941/tickets/5</url>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">11063</assigned-user-id>
      <attachments-count type="integer">2</attachments-count>
      <body>I'm not sure.

The spec says that an intentional line break should be escaped by \n or \N, but I'm unclear what is meant here by an intentional line break.

I guess I could convert any of
  \n
  \r\n
  \r
  \n\r

into &quot;\\n&quot;  but I'm not sure that that's the right answer. I've asked calsify list for a recommendation, but they haven't been very responsive.</body>
      <body-html>&lt;div&gt;&lt;p&gt;I'm not sure.&lt;/p&gt;
&lt;p&gt;The spec says that an intentional line break should be escaped
by \n or \N, but I'm unclear what is meant here by an intentional
line break.&lt;/p&gt;
&lt;p&gt;I guess I could convert any of&lt;br&gt;
\n \r\n \r \n\r&lt;/p&gt;
&lt;p&gt;into &quot;\n&quot; but I'm not sure that that's the right answer. I've
asked calsify list for a recommendation, but they haven't been very
responsive.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-05-22T11:47:15-04:00</created-at>
      <creator-id type="integer">6544</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">5</number>
      <permalink>text-folding</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">30941</project-id>
      <state>new</state>
      <tag nil="true"></tag>
      <title>Text Folding</title>
      <updated-at type="datetime">2009-05-22T11:47:21-04:00</updated-at>
      <user-id type="integer">11063</user-id>
      <user-name>Rick DeNatale</user-name>
      <creator-name>Adam Williams</creator-name>
      <assigned-user-name>Rick DeNatale</assigned-user-name>
      <url>http://rick_denatale.lighthouseapp.com/projects/30941/tickets/5</url>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">11063</assigned-user-id>
      <attachments-count type="integer">2</attachments-count>
      <body>I got one reply from the icalsify list, which indicated that I should treat any combination of /n /r as an &quot;intentional&quot; linebreak</body>
      <body-html>&lt;div&gt;&lt;p&gt;I got one reply from the icalsify list, which indicated that I
should treat any combination of /n /r as an &quot;intentional&quot;
linebreak&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-05-23T16:39:37-04:00</created-at>
      <creator-id type="integer">6544</creator-id>
      <diffable-attributes type="yaml">--- 
:state: new
</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">5</number>
      <permalink>text-folding</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">30941</project-id>
      <state>open</state>
      <tag nil="true"></tag>
      <title>Text Folding</title>
      <updated-at type="datetime">2009-05-23T16:39:42-04:00</updated-at>
      <user-id type="integer">11063</user-id>
      <user-name>Rick DeNatale</user-name>
      <creator-name>Adam Williams</creator-name>
      <assigned-user-name>Rick DeNatale</assigned-user-name>
      <url>http://rick_denatale.lighthouseapp.com/projects/30941/tickets/5</url>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">11063</assigned-user-id>
      <attachments-count type="integer">2</attachments-count>
      <body></body>
      <body-html></body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2009-05-23T18:28:40-04:00</created-at>
      <creator-id type="integer">6544</creator-id>
      <diffable-attributes type="yaml">--- 
:state: open
</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">5</number>
      <permalink>text-folding</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">30941</project-id>
      <state>resolved</state>
      <tag nil="true"></tag>
      <title>Text Folding</title>
      <updated-at type="datetime">2009-05-23T18:28:43-04:00</updated-at>
      <user-id type="integer">11063</user-id>
      <user-name>Rick DeNatale</user-name>
      <creator-name>Adam Williams</creator-name>
      <assigned-user-name>Rick DeNatale</assigned-user-name>
      <url>http://rick_denatale.lighthouseapp.com/projects/30941/tickets/5</url>
    </version>
  </versions>
  <attachments type="array">
    <attachment type="Attachment">
      <code>e6b6358ec23a0408d5c87facff4a5d846b323d1f</code>
      <content-type>text/plain</content-type>
      <created-at type="datetime">2009-05-21T19:17:36-04:00</created-at>
      <filename>export.txt</filename>
      <height type="integer" nil="true"></height>
      <id type="integer">125306</id>
      <size type="integer">352</size>
      <uploader-id type="integer">11063</uploader-id>
      <width type="integer" nil="true"></width>
      <url>http://rick_denatale.lighthouseapp.com/attachments/125306/export.txt</url>
    </attachment>
    <attachment-image type="Attachment">
      <code>54d1cd1b9bb56418bdf7805949036f0c13152c0f</code>
      <content-type>image/png</content-type>
      <created-at type="datetime">2009-05-22T11:06:59-04:00</created-at>
      <filename>Picture_4.png</filename>
      <height type="integer">327</height>
      <id type="integer">125476</id>
      <size type="integer">23054</size>
      <uploader-id type="integer">6544</uploader-id>
      <width type="integer">470</width>
      <url>http://rick_denatale.lighthouseapp.com/attachments/125476/Picture_4.png</url>
    </attachment-image>
  </attachments>
</ticket>
